package no.nordicsemi.android.nrfmesh.auth.data.db;

import androidx.room.Dao;
import androidx.room.Insert;
import androidx.room.Query;

@Dao
public interface UserProfileDao {
    @Insert long insert(UserProfile p);
    @Query("SELECT * FROM user_profiles WHERE accountId=:aid LIMIT 1")
    UserProfile byAccount(long aid);
}
